package com.leps.nq.tx.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 私有云服务器表
 * </p>
 *
 * @author hex
 * @since 2022-07-23
 */
@Getter
@Setter
@TableName("tx_private_cloud_server")
@ApiModel(value = "PrivateCloudServer对象", description = "私有云服务器表")
public class PrivateCloudServer implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "pcs_id", type = IdType.AUTO)
    private Integer pcsId;

    @ApiModelProperty("私有云服务器ip地址")
    private String ip;

    @ApiModelProperty("开始端口")
    private Integer startPort;

    @ApiModelProperty("结束端口")
    private Integer endPort;

    @ApiModelProperty("备注")
    private String remark;
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("创建者")
    private String createBy;
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("创建时间")
    private Date createTime;
    @TableField(fill = FieldFill.UPDATE)
    @ApiModelProperty("更新者")
    private String updateBy;
    @TableField(fill = FieldFill.UPDATE)
    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("删除标志 (0存在 1删除)")
    @TableLogic
    private Integer delFlag;


}
